package com.dog.basics.bean.vo.admin.sys;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 基础字典
 * </p>
 *
 * @author guoy
 * @since 2020-03-27
 */
@Data
public class DictPageVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 字典id
     */

    @ApiModelProperty(value = "字典id", dataType = "Long", required = true)
    private Long dictId;

    /**
     * 所属字典类型的id
     */

    @ApiModelProperty(value = "所属字典类型的id", dataType = "Long", required = true)
    private Long dictTypeId;

    /**
     * 字典编码
     */

    @ApiModelProperty(value = "字典编码", dataType = "String", required = true)
    private String code;

    /**
     * 字典名称
     */

    @ApiModelProperty(value = "字典编码", dataType = "String", required = true)
    private String name;

    /**
     * 上级代码id
     */

    @ApiModelProperty(value = "上级代码id(无传0)", dataType = "Long", required = true)
    private Long parentId;

    /**
     * 所有上级id
     */

    @ApiModelProperty(value = "所有上级id(无传0,)", dataType = "String", required = true)
    private String parentIds;

    /**
     * 状态（字典）
     */

    @ApiModelProperty(value = "状态ENABLE和UNENABLE", dataType = "String", required = true)
    private String status;

    /**
     * 排序
     */

    @ApiModelProperty(value = "排序", dataType = "Integer", required = true)
    private Integer sort;

    /**
     * 字典的描述
     */
    @ApiModelProperty(value = "字典的描述", dataType = "Integer", required = false)
    private String description;



}
